package com.ee.bruscar.example.model.general;

public class NewsItem
{
	private ImageLink link;
	private String title;
	public void setLink(ImageLink link)
	{
		this.link = link;
	}
	public ImageLink getLink()
	{
		return link;
	}
	public void setTitle(String title)
	{
		this.title = title;
	}
	public String getTitle()
	{
		return title;
	}
	
	@Override
	public String toString()
	{
		String result = "";
		result += title + " / ";
		if( link != null )
		{
			result += link.toString();
		}
		return result;
	}
}
